Teacher Version

Hero Image
Hero Image

Right-Edge Line Tracking

Modify your program

Modify your program to track the right side of the line using the lineTrackRight command block.

 

Physical Robot: RightEdgeTracking.rbg

Virtual Robot: RightEdgeTrackingVR.rbg

What do you notice? How is this different from the original program?

The robot tracks the right side of the line. When the color sensor detects black, it turns to the right. When the color sensor detects white, it turns toward the left.

© 2016 Robomatter, Inc.

Portions of this product are manufactured under license from Carnegie Mellon University.